<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/5/30
 * Time: 14:18
 */

namespace app\Validate;


class UserCartChangeValidate extends BaseValidate {
    protected $rule = [
        'product_id'=>'require|number',
//        'sku'=>'require',
        'number'=>'require',
        'change_type'=>'require'
    ];
    protected $message =  [
        'product_id'=>'产品的id',
//        'sku'=>'产品的sku',
        'number'=>'产品对应数量',
        'change_type'=>'对应的操作类型'
    ];
}